#!/usr/bin/perl -w
use strict;
use warnings;
print "Hello world\n";

printf("这里直接是以字符串的格式输出的：\n");
printf "%*s\n", 10, "wilma";
printf("%*s\n", 10, "wilma");

printf("注意，此处参数宽度用参数传入：\n");
printf "%*.*f\n", 6, 2, 3.1415926;
printf("%*.*f\n", 6, 3, 3.1415926);
